package com.test.dao.order;


import com.test.datasource.DataSourceDefine;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.jdbc.core.support.JdbcDaoSupport;

import javax.sql.DataSource;

public class OrderDaoImpl extends JdbcDaoSupport implements OrderRepository{
    private static Logger logger = LoggerFactory.getLogger(OrderDaoImpl.class);
    @Autowired
    public OrderDaoImpl(@Qualifier(DataSourceDefine.DATASOURCE_UNIANCE) DataSource dataSource) {
        setDataSource(dataSource);
    }
}
